package com.foryou.wechat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.foryou.wechat.entity.ShootEntity;
import com.foryou.wechat.model.Query;
import com.foryou.wechat.model.vo.ShootActionVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Lee.
 */
@Mapper
@Repository
public interface ShootMapper extends BaseMapper<ShootEntity> {

    List<ShootEntity> getUserShootList(@Param("start") int start,@Param("userId") Long userId);

    List<ShootActionVo> queryShootList(Query query);

    List<ShootActionVo> queryCollectShootList(@Param("start") int start, @Param("userId") Long userId);

    List<ShootActionVo> queryUserIsFollowList(Query query);

}
